
#include "lv_demo_gba.h"
#include "lvgl.h"

lv_obj_t *my_gba;
lv_obj_t *text = NULL;
void lv_demo_gba(void)
{

    my_gba = lv_canvas_create(lv_scr_act());
    lv_obj_set_size(my_gba, 256, 160);
    lv_obj_align(my_gba, LV_ALIGN_CENTER, 0, 0);
    // lv_img_set_zoom(my_gba, 256); // 两倍分辨率

    text = lv_label_create(lv_scr_act());
    lv_label_set_text(text, "lv_demo_gba");
}
